package wjh.service;

import wjh.pojo.Department;
import wjh.pojo.Doctor;
import wjh.pojo.Patient;
import wjh.pojo.Register;

import java.util.List;

public interface RegisterService {
    List<Register> findByNum(String records_number,int patientId);

    List<Department> findAllDepartments();
    List<Doctor> findDoctorsByDateAndDepartment(String date, String id);



    void addRegister(Register register);

    void deleteRegisters(String ids);

    Register findRecordsById(Integer id);


    boolean signIn(Integer id);

    Patient findPatientById(int id);

    Integer getDoctorIdByName(String doctorName);

    Doctor findDoctorById(int id);


    List<Register> doctorFindAll(int doctor_id, String user_name, String records_number);


    void fillRecord(String orders,int id);


    List<Register> findAllRecords(String user_name);

    int getRegistrationFee(String doctorId);

    void addRegisterFee(String recordsNumber, Integer registerFee);

    void cancelRegisters(String id);

    void decrementPlanNumber(Integer doctorId, String dayOfWeek);
}
